package menu;

import classification.UserTagClassfication;

/**已测试
 * 对用户id按照进行不同的标签分类*/
public class Classification {
	/**
	 * @param dir (String)SinaUserTag文件夹绝对路径
	 * @param userIdDir (String)SinaUserHasSinaUserTag文件夹绝对路径
	 * @param tagDir (String)各种标签的文件夹存储绝对路径
	 * */
	public Classification(String dir,String userIdDir,String tagDir){
		UserTagClassfication u = new UserTagClassfication();
		u.createMap(dir, userIdDir);
		u.createTagsFile(tagDir);
		u.classifyUser();
	}
	
	public static void main(String[] args){
		String dir="E:\\WordSplit\\DataShow\\weibo_datas\\SinaNormalRobot\\SinaUserTag";
		String userIdDir="E:\\WordSplit\\DataShow\\weibo_datas\\SinaNormalRobot\\SinaUserHasSinaUserTag";
		String tagDir="F:\\用户分类标签";
		new Classification(dir,userIdDir,tagDir);
	}
	
}
